package com.health.db.dao.user.impl;


import java.util.List;

import com.health.db.dao.ServiceInterface;
import com.health.db.dao.user.IGoodsDataStuffRemarkDao;
import com.health.db.mapper.GoodsDataStuffRemarkMapper;
import com.health.db.model.GoodsDataStuffRemark;
import com.health.db.model.GoodsDataStuffRemarkExample;

/**
 * 缓存未做
 * @author YC
 *
 */
public class GoodsDataStuffRemarkDaoImpl extends ServiceInterface implements IGoodsDataStuffRemarkDao{

	private  GoodsDataStuffRemarkMapper GoodsDataStuffRemarkMapper;

	public GoodsDataStuffRemarkMapper getGoodsDataStuffRemarkMapper() {
		return GoodsDataStuffRemarkMapper;
	}

	public void setGoodsDataStuffRemarkMapper(
			GoodsDataStuffRemarkMapper goodsDataStuffRemarkMapper) {
		GoodsDataStuffRemarkMapper = goodsDataStuffRemarkMapper;
	}

	@Override
	public void insertBatch(List<GoodsDataStuffRemark> list) {
		// TODO Auto-generated method stub
		
		GoodsDataStuffRemarkMapper.insertBatch(list);
	}

	@Override
	public int deleteByExample(GoodsDataStuffRemarkExample example) {
		// TODO Auto-generated method stub
		return GoodsDataStuffRemarkMapper.deleteByExample(example);
	}

	@Override
	public int deleteByUserDataId(Long userDataId) {
		// TODO Auto-generated method stub
		return GoodsDataStuffRemarkMapper.deleteByUserDataId(userDataId);
	}

	
}
